package com.smart.sj;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 多库多表 + 读写分离
 */
@SpringBootApplication(exclude = DruidDataSourceAutoConfigure.class)
@MapperScan("com.smart.sj.mapper")
public class ShardingJDBCApp {
    public static void main(String[] args) {
        SpringApplication.run(ShardingJDBCApp.class, args);
    }
}
